package month4.day5.water;

public class Text {
    public static void main(String[] args) {
        Fish fish=new Fish("鲤鱼");
        System.out.println(fish.toString());
        fish.swim();
        Submarine submarine=new Submarine("蛟龙号");
        System.out.println(submarine.toString());
        submarine.swim();
    }
}
